#include<iostream>
#include<unistd.h>
#include<sys/types.h>
using namespace std;

int main(int argc, char* argv[], char* env[]){
  cout << "This is Cpp Code, pid is " << getpid() << endl;
  for(int i = 0; i < argc; ++i){
    cout << "agrv[" << i << "]" << " : " << argv[i] << endl;
  }
  
  for(int i = 0; env[i]; ++i){
    cout << "env[" << i << "]" << " -> " << env[i] << endl;
  }

  return 0;
}
